<?php
echo "<pre>";
mysql_connect('localhost','root','') or die(mysql_error());
mysql_select_db('b18');

$selectQuery = "SELECT * FROM `practice`";
$selectResult = mysql_query($selectQuery)or die(mysql_error());

while($ans = mysql_fetch_array($selectResult)) {
  print_r($ans);
}
